package com.escope.casemanager.model;

import javax.persistence.*;
import java.util.Date;

/**
 * Administrator
 * 2024/3/15
 */
@Entity
@Table(name = "sys_user")
public class SysUser extends BaseModel{
    @Column(name = "user_code")
    private String userCode;
    @Column(name = "password")
    private String password;
    @Column(name = "role_id")
    private Long roleId;
    @Column(name = "nick_name")
    private String nickName;
    @Column(name = "avatar")
    private String avatar;
    @Column(name = "telephone")
    private String telephone;
    @Column(name = "rmk")
    private String rmk;
    @Column(name = "last_visit")
    private Date lastVisit;

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Date getLastVisit() {
        return lastVisit;
    }

    public void setLastVisit(Date lastVisit) {
        this.lastVisit = lastVisit;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getRmk() {
        return rmk;
    }

    public void setRmk(String rmk) {
        this.rmk = rmk;
    }
}
